package com.kxmall.web.controller.vehicle.service;

import com.kxmall.vehicle.domain.bo.KxVehicleBoxDownGoodsBo;
import com.kxmall.vehicle.domain.bo.KxVehicleBoxUpGoodsBo;
import com.kxmall.vehicle.domain.vo.KxVehicleInGoodsVo;
import com.kxmall.vehicle.domain.vo.KxVehicleVo;

import java.util.List;

/**
 *
 */
public interface IKxWebVehicleService {

    KxVehicleVo getVehicleBoxGoodsInfo(String vehicleNo, String username);

    KxVehicleVo createVehicleBoxGoodsInfo(KxVehicleVo vehicleVo, String username);

    Boolean openVehicleBox(Long userId, String vehicleNo, Integer boxIndex);

    /**
     * 获取分配给指定餐车点需要售卖的所有商品详情
     * @param vehicleNo
     * @return
     */
    List<KxVehicleInGoodsVo> getVehicleInGoods(String vehicleNo);

    Boolean vehicleBoxUpGoods(Long userId, String username, KxVehicleBoxUpGoodsBo bo);


    Boolean vehicleBoxDownGoods(Long userId, String username, KxVehicleBoxDownGoodsBo bo);
}
